<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>date对象</title>
		<script>
		 var d=new Date();
		 console.log("当前事件是:"+d);
		 console.log(d.getDay());
		 console.log("年："+d.getFullYear());
		 console.log("毫秒数:"+d.getTime());
		 console.log("月份:"+d.getMonth());
		 console.log("天:"+d.getDate());
		 console.log("本地时间："+d.toLocaleDateString());
		 console.log("GMT时间："+d.toGMTString()); 
		 console.log("GMTtoLocaleTimeString()："+d.toLocaleTimeString());
		</script>
	</head>
	<body>
	</body>
</html>
